<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> 
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/translator.tld" prefix="trans" %>


<trans:initPage module="search2" />
<tr bgcolor="#FFFFFF" align="center">
<td class="text_searchbold">
Delete
	</td>

<td class="text_searchbold">
Format Name
	</td>
</tr>
<form method=POST action=<html:rewrite page="/resultsFormat.do?mode=delete"/> >
<logic:iterate scope="request" name="formats" id="format">
<tr bgcolor="#FFFFFF">
<td bgcolor="#FFFFFF" width="30">
<input type=checkbox name=delformat value=<bean:write name="format" property="id"/> />
</td>


<td class="text_search">
<html:link page="/resultsFormat.do?mode=edit" paramName="format" paramProperty="id" paramId="id">
<bean:write name="format" property="name"/>
</html:link>

</td>
</tr>
</logic:iterate>
<tr>
<td colspan="2" align="center" bgcolor="#F0F0F0" class="text_searchbold">

			  <input type='button' class='butonsave' 
    onclick=javascript:window.location.href='<html:rewrite page="/resultsFormat.do"/>?mode=list;'
    value='<trans:showPageMessage label="addnewformat" hide_link="true" />' />
    
<input type="submit" class="butonsave" value="Delete selected"/>			  

</td></tr>
</form>
